<div class="menu" id="menu">
		<ul>
			<li class="{if $file=='homepage'}menu_on{else}menu_li{/if}"><a href="{$COM[linkurl]}"><span>网站首页</span></a></li>
			{loop $MENU $k $v}
			<li class="{if $file==$menu_file[$k]}menu_on{else}menu_li{/if}" id="li_{$menu_file[$k]}">
				<a href="{$v[linkurl]}"><span>{$v[name]}</span></a>
				{if 'sell'==$menu_file[$k]}
				{if $_catgory}
				<div class="position">
					{loop $_catgory $t}
						<span><a href="{userurl($username, 'file=sell&catid='.$t['catid'], $domain)}" title="{$t[catname]}">{$_CATEGORY5[$t['catid']]['catname']}</a></span>
					{/loop}	
				</div>
				{/if}
				{/if}
				{if 'sell1'==$menu_file[$k]}
				{if $_catgory33}
				<div class="position">
					{loop $_catgory33 $t}
						<span><a href="{userurl($username, 'file=sell1&catid='.$t['catid'], $domain)}" title="{$t[catname]}">{$_CATEGORY33[$t['catid']]['catname']}</a></span>
					{/loop}	
				</div>
				{/if}
				{/if}
				{if 'buy'==$menu_file[$k]}
				{if $_catgory6}
				<div class="position">
					{loop $_catgory6 $t}
						<span><a href="{userurl($username, 'file=buy&catid='.$t['catid'], $domain)}" title="{$t[catname]}">{$_CATEGORY6[$t['catid']]['catname']}</a></span>
					{/loop}	
				</div>
				{/if}
				{/if}
			</li>
			{/loop}
			<div class="clear"></div>
		</ul>
</div>